<div class="col-sm-5"><label for="ruang" class="control-label">Room Name</label></div>
<div class="col-md-7">
	<?php if($get_Room) { ?>	
		<select id="ruang_name" class="form-control input-sm">
		<option value="0">-- Select Room --</option>
		<?php foreach($get_Room as $get_Room)
		{
			echo "<option value=".str_replace(" ","-",$get_Room['RBF_ROOM']).">".strtoupper($get_Room['RBF_ROOM'])."</option>";
		}?>
		</select>
	<?php }
	else
	{ ?>
		<select disabled="disabled" id="ruang_name" class="form-control input-sm">
			<option value="0">-- sorry no data --</option>
		</select>
	<?php 
	} ?>
</div>
<?php if($get_Room) { ?>
<div class="col-sm-5"><label align="right" for="new_room" class="control-label input-sm">New Name<span style="color:red;">*</span></label></div>						
<div class="col-sm-7">
	<?php
	if (!empty($new_room)) { ?>
		<input type="text" class="form-control input-sm" id="new_room" value="<?php echo $new_room; ?>"> 
	<?php										
	} else {
	?>
		<input type="text" class="form-control input-sm" id="new_room" value="">									
	<?php
	} ?>							
</div>
<?php
}
else
{ ?>
<div class="col-sm-5"><label align="right" for="new_room" class="control-label input-sm">New Name<span style="color:red;">*</span></label></div>						
<div class="col-sm-7">
	<input type="text" class="form-control input-sm" id="new_room" value=""> <!-- disabled="disabled" -->									
</div>
<?php 
} ?>